<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>登录</title>
  <link rel="stylesheet" href="/css/common.css">
  <link rel="stylesheet" href="/css/login.css">
</head>
<body class="login">
	<div>
		<div class="login-center">
			<div class="login-logo"></div>
			<div class="login-title">欢迎使用分针</div>
			<form action="{:url('Index/loginadd')}" method="post" >
  			<input class="login-input" type="text" placeholder="请输入你的手机号码" id="username" onblur="venfy()" name="username"><div id="phone"></div>
  			<input class="login-input" type="password" placeholder="请输入密码" id="password" name="password" >
  			<span class="login-forget-rember">记住密码：<input type="checkbox" name="remember" value="1" checked></span>
  			<a href="{:url('Getbackpassword/index')}" class="login-forget">忘记密码?</a>
  			<input type="submit" class="login-btn" value="登录"  name="submit">
		  </form>
			<div class="login-foot">
				<span class="login-foot-1">没有分针号?</span>
				<a href="{:url('Index/zhuce')}" class="login-foot-2">立即注册</a>
			</div>
		</div>
	</div>
    <script type="text/javascript" src="https://cdn.bootcss.com/jquery/3.2.1/jquery.min.js"></script>
    <script type="text/javascript">
    function venfy(){
    var phone=$("#username").val();
 //   isphone=verify(phone);
    $.post('/index.php/admin/index/verify', {'phone':phone}, function(data) {
    $('#phone').html(data.msg);
        });
    }
   
</script>
</body>
</html>
